﻿using Core.RabbitMQ.Attribute;

namespace Core.WebApi.Consume.Dto
{
    [RabbitMqMessage(queueName:"order_queue")]
    public class OrderMessage
    {
        public int Id { get; set; }

        public string Name { get; set; } = null!;

        public DateTime CreateDate { get; set; }
    }
}
